Skip to content

Support @IdGeneratorType #2407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Support @IdGeneratorType #2407

wants to merge 2 commits into from

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented Aug 7, 2025

Fix #1906

Supersedes #2380

@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Aug 7, 2025

Thanks for your pull request!

This pull request appears to follow the contribution rules.

› This message was automatically generated.

@DavideD DavideD requested a review from dreab8 August 7, 2025 13:46
@DavideD DavideD modified the milestone: 4.0.0.Beta2 Aug 7, 2025
@DavideD DavideD changed the title Issue#1906 Support @IdGenerationType Aug 7, 2025
@DavideD DavideD changed the title Support @IdGenerationType Support @IdGeneratorType Aug 7, 2025
@@ -38,4 +41,18 @@
default CompletionStage<Id> generate(ReactiveConnectionSupplier session, Object owner, Object currentValue, EventType eventType) {
return generate( session, owner );
}

@Override
default Id generate(

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method ReactiveIdentifierGenerator.generate(..) could be confused with overloaded method
generate
, since dispatch depends on static types.
}

@Override
default Object generate(SharedSessionContractImplementor session, Object object){

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method ReactiveIdentifierGenerator.generate(..) could be confused with overloaded method
generate
, since dispatch depends on static types.
@DavideD DavideD marked this pull request as draft August 7, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support @IdGeneratorType
2 participants